package com.xhsj.user.hr.system.entity;

import com.xhsj.user.hr.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户和角色关联表
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-08
 */
@Data
@Accessors(chain = true)
@TableName("tb_global_user_role")
public class TbGlobalUserRole {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId("user_id")
    private Long userId;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private Long roleId;


}
